Trees | Indices | Toggle frames |
---|
Group of common OpenGL state.
Before a vertex list is rendered, its group's OpenGL state is set; as are that state's ancestors' states. This can be defined arbitrarily on subclasses; the default state change has no effect, and groups vertex lists only in the order in which they are drawn.
__init__(self,
parent=None)
Create a group.
|
|
set_state(self)
Apply the OpenGL state change.
|
|
unset_state(self)
Repeal the OpenGL state change.
|
|
set_state_recursive(self)
Set this group and its ancestry.
|
|
unset_state_recursive(self)
Unset this group and its ancestry.
|
Apply the OpenGL state change.
The default implementation does nothing.
Repeal the OpenGL state change.
The default implementation does nothing.
Set this group and its ancestry.
Call this method if you are using a group in isolation: the
parent groups will be called in top-down order, with this class's
set
being called last.
Trees | Indices | Toggle frames |
---|
Generated by Epydoc 3.0beta1 on Thu Dec 31 17:58:18 2009 | http://epydoc.sourceforge.net |